﻿namespace FFF.Test.Entity.Demo
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 学院表(树)
    /// </summary>
	[Table("Demo_School_Test")]
    [Display(Name = "学院表(树)", Description = "学院表(树)")]
    [AutoMapFrom(typeof(ViewDemoSchoolTest))] 
    public partial class DemoSchoolTestEntity : BaseTreeEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("SchoolTestGUID")]
        [Display(Name = "学院表(树)主键", Description = "学院表(树)主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolTestCode")]
		[StringLength(512)]
        public string SchoolTestCode { get; set; }   

		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolTestName")]
		[StringLength(512)]
        public string SchoolTestName { get; set; }   
    }
}
